package com.npf.imgserver.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 图片信息
 * </p>
 *
 * @author nipengfei
 * @since 2018-09-23
 */
@Data
@TableName("img_info")
public class ImgInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图片信息ID
     */
    @TableId(value = "img_id", type = IdType.AUTO)
    @Excel(name = "图片信息ID", width = 10, orderNum = "1")
    private Long imgId;

    /**
     * 接入商秘钥
     */
    @Excel(name = "接入商秘钥", width = 40, orderNum = "2")
    private String appKey;

    /**
     * 接入商ID
     */
    @Excel(name = "接入商ID", width = 10, orderNum = "3")
    private Long customerId;

    /**
     * 接入商名称
     */
    @Excel(name = "接入商名称", width = 30, orderNum = "4")
    private String customerName;

    /**
     * 存储路径
     */
    @Excel(name = "存储路径", width = 80, orderNum = "5")
    private String imgUrl;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30,exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "6")
    private Date createDate;


}
